import axios from "./request"

//网络请求访问路径
const base = {
  baseUrl: "http://81.70.49.198:8808/api",
  login:"/login/login",
}
export interface ILogin{
  username: string
  password: string
}
//网络请求方法
const api = {
  login(params:ILogin){
    return axios.post(base.baseUrl+base.login,params);
  },
}


export default api;